package com.ruoyi.common.base.user.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ruoyi.common.customize.util.serializer.BigDecimalToPlainStringSerializer;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 代理信息对象 agent
 *
 * @author gdk
 * @date 2023-05-27
 */
@Data
public class AgentAppVO {
    private static final long serialVersionUID = 1L;

    /**
     * 邀请数量
     */
    private Integer inviteNum;

    /**
     * 分红
     */
    @JsonSerialize(using = BigDecimalToPlainStringSerializer.class)
    private BigDecimal dividend;

    /**
     * 提现金额
     */
    @JsonSerialize(using = BigDecimalToPlainStringSerializer.class)
    private BigDecimal withdrawal;

    /**
     * 冻结金额
     */
    @JsonSerialize(using = BigDecimalToPlainStringSerializer.class)
    private BigDecimal frozen;

    /**
     * 余额
     */
    @JsonSerialize(using = BigDecimalToPlainStringSerializer.class)
    private BigDecimal balance;
}
